module.exports = {
    lintOnSave: false,
    devServer: {
        //https://m.you.163.com/xhr/index.json?csrf_token=1e2a40464e638c7fd96cd7e26f7844c0&__timestamp=1624965885239&
        // proxy: "https://www.jianshu.com/asimov"
        proxy: {
            '/wangyi': {
                target: 'https://m.you.163.com',
                changeOrigin: true,
                secure: false,
                pathRewrite: {
                    ['^/wangyi']: '',
                }
            },
            '/jianshu': {
                target: 'https://www.jianshu.com/asimov',
                changeOrigin: true,
                pathRewrite: {
                    ['^/jianshu']: '',
                }
            },
            '/'
        }
    }
};